package guinong.com.gnw.utils;

/**
 * @author chenshuangniu
 * @time 2016/11/3 15:42
 * @content
 * @amend
 * @viersion 1.0
 */

public class Constant {

    public static final String TYPE_NOTICE = "notice";
    public static final String TYPE_SCHOOL = "school";
    public static final String TYPE = "type";
    public static final String TYPE_HOME_WORK = "homework";
    public static final String TYPE_ATTENDANCE_ALL = "0";
    public static final String TYPE_ATTENDANCE_LATE = "1";
    public static final String TYPE_ATTENDANCE_LEAVE = "2";
    public static final String TYPE_ATTENDANCE_NO = "3";
    public static final String TYPE_ATTENDANCE_EARLY = "4";
    public static final int REQUEST_CODE_CAMERA = 1000;//打开相机
    public static final int REQUEST_CODE_GALLERY = 1001;//打开相册
    //登录parm
    public static final String LOGIN_UERNAME_KEY = "username";
    public static final String LOGIN_PWD_KEY = "pwd";
    public static final String REQUEST_STATUS_SUCCESSS = "1";//请求成功标志
    public static final String REQUEST_STATUS_FAIR = "400";//请求失败标志

    /**
     * shared没有登录过  没有记住都是no
     */
    public static final String NO = "no";
    /**
     * shared登录过  记住都是yes
     */
    public static final String YES = "yes";
    /**
     * shared的用户名key
     */
    public static final String USER_NAME = "Username";
    /**
     * id记录绑定
     */
    public static final String USER_Id = "Id";
    /**
     * 版本号
     */
    public static final String VERSION = "version";
    /**
     * shared的密码key
     */
    public static final String USER_PWD = "Password";
    /**
     * shared的记住密码key
     */
    public static final String REMEMBER = "rember";
    /**
     * shared的是否是第一次登录key
     */
    public static final String IS_FRIST_LOGIN = "is_frist_login";
    public static final String IS_GUIDE = "is_guide";
    public static final String AM = "am";
    public static final String PM = "pm";
    public static final String RELOGIN = "relogin";
    public static final String DATE = "date";
    public static final String ADD_STUDENT = "添加学生";
    public static final String STUDENT_LIST = "学生列表";
    public static final String ADD_TEACHER = "添加老师";
    public static final String STUDENT_KEY = "student";
    public static final String TEACH_KEY = "teach";
    public static final String SCHID_KEY = "sch_id";
    public static final String CID_KEY = "cid";
    public static final String TEACHE_KEY = "teacher_id";
    public static final String GID_KEY = "gid";
    public static final String FRESH_KEY = "fresh";
    public static final String ADDMORE_KEY = "addmore";
    public static final String AMEND_KEY = "amend";
    public static final String ADD_KEY = "add";
    public static final String TEACHER_NAME_KEY = "teacher_name";
    public static final String TEACHER_PHONE_KEY = "teacher_phone_key";
    public static final String TEACHER_SUBJECT_KEY = "teacher_subject_key";
    public static final String IMAGE_URL_KEY = "url";

}
